package com.cy.sys.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Date;

/**
 * 商品信息
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Goods implements Serializable {
    private static final long serialVersionUID = -4790512867094302161L;
    /** 商品Id*/
    private Integer goodsId;
    /** 商品名称*/
    private  String goodsName;
    /** 分类Id*/
    private  Integer classifyId; //外键
    /** 分类Id*/
    private String classifyName;
    /** 厂家*/
    private String factory;
    /** 库存*/
    private Integer stock;
    /** 价格*/
    private Double price;
    /** 品牌*/
    private String brand;
    /** 备注*/
    private String remark;
    /** 更新时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
